package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.Channel;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.request.ChannelRequest;

/**
* 渠道表
* @author : 
* @email : 
* @since : 2020-02-26 09:41:13
* @version : v1.0.0
*/
public interface ChannelService {

    long insert(ChannelRequest channel);

    long delete(ChannelRequest channelRequest);

    long update(ChannelRequest channel);

    Channel queryByPrimaryKey(Long id);

    List<Channel> query(Channel channel);

    PageResult<Channel> queryPage(ChannelRequest channelRequest);

    RestResult editMerchantInfo(ChannelRequest channelRequest);
}